package com.cungmua.app.model.request;

import com.cungmua.app.utils.AppUtils;

/**
 * Created by kelvin.nguyen on 6/25/14.
 */
public class UpdateShippingAddressRequest extends CreateShippingAddressRequest {
    public UpdateShippingAddressRequest(String deviceId, String token) {
        super(deviceId, token);
    }

    @Override
    public String getSign() {
        return AppUtils.MD5(String.valueOf(getUserId()) + address.getId() + address.getCustomerName() + address.getPhone() +
                address.getHouseNumber() + address.getStreetName() + address.getBuildingName() +
                address.getCityId() + address.getDistrictId() + address.getWardId() +
                address.getAddressType() + getVersion() + getDeviceId() + getToken());
    }
}
